<div class='left'>
	<div class="category width-30 float-left">
		<?php $this->blkCategoryNews()?>
		<?php $this->blkAnswer()?>
		<?php $this->blkAdvertLeft()?>
	</div>
	<div class="content-left width-68 float-right">
		<?php
			$type = $this->arrParam['type'];
			if(empty($type)){
				include_once 'includes/search.php';
				include_once 'includes/business-featured.php';
				include_once 'includes/business-special.php';
				include_once 'includes/business-new.php';
			}else{
				include_once 'includes/search.php';
				echo '<div class="group">
						<div class="sub-content color-blue">Doanh nghiệp tìm kiếm</div>';
			?>
				<div class="total"><b>Kết quả tìm kiếm:</b> <?php echo $this->total?> doanh nghiệp</div>
			<?php
			if (!empty($this->Items)){
				foreach ($this->Items as $key => $val) {
					$tblCut 	= new Zendvn_File_CutTring();					
					$title 		= $val['name'];
					$title 		= $tblCut -> cutTring(50, $title, null);
					
					$address 	= $val['address'];
					$phone 		= $val['phone'];
					$website 	= $val['website'];
					
					
					
					if(!empty($val['picture'])){
                    	$linkImg	= FILES_URL . '/news/images450x450/' . $val['picture'];
                    	$picture 	= '<img title="'. $val['name'] .'" src="'. $linkImg .'" width="110" alt="'. $val['name'] .'" />';
                    }else{
                    	$linkImg	= FILES_URL . '/news/images450x450/no-image.jpg';
                    	$picture 	= '<img title="'. $val['name'] .'" src="'. $linkImg .'" width="110" alt="'. $val['name'] .'" />';
                    }
					
					$lang = $this->arrParam['lang'];
                    if(empty($lang)){
                    	$lang = 'vi';
                    }else{
                    	$lang = $this->arrParam['lang'];
                    }
                 	$urlOptions = array('module'=>'business','controller'=>'index',
												'action'=>'detail',
												'nname'=>$val['alias_name'],
												'title'=>$val['alias'],
                    							'nid'=> $val['cat_id'],
												'id'=>$val['id'],
                   								'lang'=>$lang);
                   	$linkDetail = $this->url($urlOptions,'business-detail');
                    
                    $line = '<div class="line mar-top-10"></div>';
                    if($key == 4)$line = '';
					
		?>
		<div class="box-cnt width-100 col-0">
                 <div class="cnt">
                      <div class="bor-img">
                          <a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>"><?php echo $picture?></a>
                      </div>
                      <div class="desc">
                          	<h2><a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>"><?php echo $title?></a></h2>
                          	<p><strong>Địa chỉ: </strong> <?php echo $address?></p>
                          	<p><strong>Điện thoại: </strong> <?php echo $phone?></p>
                          	<p><strong>Website: </strong> <?php echo $website?></p>
                          	<a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>" class="readmore">...Xem chi tiết</a>
                      </div>
                   </div>
        </div>
		<?php echo $line ?>
		<?php
					}
				}else{
					echo '<div class="note-pro mar-top-10">Hiện tại không có doanh nghiệp phù hợp với từ khoá của bạn....</div>';
				}
				echo '</div>';
			}
		?>
    </div>
</div>